<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String contextPath = request.getContextPath();
%>  

<form action="<%=contextPath %>/admin/list.do" name="search" method="get" onsubmit="return searchCheck()">
<!-- //Wrapper -->
<div id="wrapper">

<!-- Contenter_Sub -->

<div id="container_sub">
<!-- Content_List -->
		
<div id="sub_page_bg1"></div>
<!-- Sub Page Background -->

<div id="content_list">
  <div class="title">
	
	<div class='sub_title'>
	    <li>프로포즈</li>
	  <li class='stitle'>조건에 맞는 이상형을 검색해드립니다.</li>
	</div>
    
    <div class='navig'>
		<li class='frst'><img src='../image/all/home_icon.png' align='absmiddle' width='13' height='13'> <a href='/wedding/main/index.do'>HOME</a></li>
		<li>회원서비스</li>
		<li>이상형검색</li>
	</div>
		
	<!-- sub_menu-->
	<ul class='sub_menu'>		
	  <ul class="sub_tab">
		<li><a class='rollover' href="<%=contextPath%>/propose/write.do">프로포즈</a></li>
		<li><a class='over' href="<%=contextPath%>/propose/search.do">이상형찾기</a></li>
		<li><a class='rollover' href="<%=contextPath %>/recommend/allList.do">회원현황</a></li>
		<li><a class='rollover' href="<%=contextPath %>/eventBoard/list.do">파티&미팅</a></li>
		<li><a class='rollover' href="<%=contextPath %>/dcourseBoard/list.do">데이트코스</a></li>
	  </ul>
	 </ul>	
	 <div>
	
		
      	</div>
<br>
<div class="content_title">
	<h1><span>Search</span><br>Idle Type</h1>
	<p><br>━</p>
	<span class="content_title_s"><strong>search</strong></span>
</div>

<div class="great_date">
	<h2>이상형 리스트</h2>
	<p>
	 <div class="bo_fx">
        <div id="bo_list_total">
            <span>Total${count}건</span>
            ${currentPage}페이지 
        </div>
            <ul class="btn_bo_user" style="float:right"> 
             </ul>
     </div>
 
    <!-- 본격적인 게시판 리스트 -->
 <div class="bo_list">
 	<div class="tbl_head01 tbl_wrap">
   	 <table>
    	<caption>멤버리스트 테스트</caption>
     	<thead>
      	<tr>
	 		<th scope="col" class="td_num">이름</th>	     
	        <th scope="col" class="td_num">성별</th>
	        <th scope="col" class="td_num">나이</th>
	        <th scope="col" class="td_num">거주지역</th>
	        <th scope="col" class="td_num">직업</th>
	        <th scope="col" class="td_num">결혼 이력</th>
       </tr>
     </thead>
     
     <tbody>
      <c:forEach var="propose" items="${list}" >
      <tr>
        <td class="td_num"><span class="sv_member"><a href="<%=contextPath%>/propose/detail.do?id=${propose.id}">${propose.name}</a></span></td>  
        <td class="td_num"> 
        	<c:if test="${propose.sex=='1'}">남</c:if>
			<c:if test="${propose.sex=='2'}">여</c:if>
        </td>
        <td class="td_num">  
        	${propose.birth}
        </td>
        <td class="td_num"> 
        	${propose.region}
        </td>
        <td class="td_num"> 
        	${propose.job}
        </td>
        <td class="td_num"> 
        	${propose.exmarry}
        </td>
        
        </tr>
       </c:forEach>
       
      <c:if test="${count == 0}">
      <tr>
		<td colspan="5" class="align-center">해당 조건으로 검색된 회원이 없습니다.</td>
	  </tr>
	   </c:if>
     </tbody>
   </table>
</div>
 <div class="bo_fx">
     <ul class="btn_bo_user" style="float:right">  
      </ul>
 </div>

</div>

<!-- 페이징처리 -->
<table>
<c:if test="${count > 0}">
<nav class="pg_wrap">

	<span class="pg">
	${pagingHtml} </span>
	  
</nav>
</c:if>
</table>

		<!-- <div id="blank">&nbsp;</div> -->
		</div>
		<!-- //content_list -->

	</div>
	<!-- //contenter_sub -->

</div>
<!-- //wrapper -->

<hr>
</form>
